<template>
  <div class="page-container">
    <el-tabs v-model="activeName">
      <el-tab-pane label="活动详情" name="1">
        <Activity v-if="activeName=== '1'" :id="id" :type="'detail'" />
      </el-tab-pane>
      <!--      <el-tab-pane label="报名列表" name="2" />-->
      <!--      <el-tab-pane label="签到/签退表" name="3" />-->
    </el-tabs>
  </div>
</template>

<script>
import Activity from './Activity.vue'
export default {
  name: 'ActivityDetail',
  components: {
    Activity
  },
  data() {
    return {
      id: '',
      activeName: '1'
    }
  },
  created() {
    this.id = this.$route.query.id
  },
  methods: {}
}
</script>

<style lang="scss" scoped></style>
